import Cookies from 'js-cookie'
export let isLogin = localStorage.SECRET_TOKEN ? true : false;
/**
 * @description 判断用户是否登录
 * @returns {boolean} 已经登录返回true，否则返回false
 */
export function getIsLogin () {
  return localStorage.SECRET_TOKEN ? true : false;
}